﻿import java.util.Scanner;

public class L {

	public static void main(String[] args) {
		
		Scanner input = new Scanner(System.in);
		System.out.println("请输入月份：");
		int month = input.nextInt();
		if(month>0&&month<13){
			if(month<=3){
				System.out.println("第一季度");
			}else if(month>3&&month<=6){
				System.out.println("第二季度");
			}else if(month>6&&month<=9){
				System.out.println("第三季度");
			}else{
				System.out.println("第四季度");
			}
		}else{
			System.out.println("输入错误！请重新输入！");
		}
	}

}